home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / door / sweeps10.zip / SWEEPS.DOC < prev    next >
Text File  |  1992-12-23  |  22KB  |  481 lines

  1.  
  2.                            SWEEPSTAKES DICE
  3.  
  4.                                  v1.0
  5.  
  6.                                   by
  7.  
  8.                               Al Lawrence
  9.  
  10.                             Sunrise-80  BBS
  11.                             (404) 256-9525
  12.  
  13.  
  14.  
  15.  
  16.                                 OVERVIEW
  17.                                 ________
  18.  
  19.    SWEEPSTAKES is a fast-paced dice game in which you will be betting on the
  20.    outcome of the roll of six dice.
  21.  
  22.    The object of the game is to accumulate as many points as possible and
  23.    gain as high a slot as possible in the High Score file.
  24.  
  25.  
  26.    NOTE: Most errors will be logged to a file called DFRAME.ERR which is
  27.          created in the directory you run the door from.
  28.  
  29.  
  30.  
  31.                               INSTALLATION
  32.                               ____________
  33.  
  34.  
  35.    Installation is fairly easy and straight-forward. The following steps and
  36.    examples should have you up and running in a very short period of time.
  37.    It is assumed that you are familiar with setting up DOORS on your system.
  38.    To this end, only examples of the configuration file and Door batch file
  39.    are described.
  40.  
  41.       1) Create a directory to hold all SWEEPS files
  42.  
  43.       2) Unzip SWEEPSxx.ZIP into the the above directory
  44.  
  45.       3) Create a configuration file, with a name of your choice, or
  46.          modify the supplied SWEEPS.CFG file. A description follows:
  47.  
  48.             **                       Location of system file (See Below)
  49.             SUNRISE-80 BBS           Your BBS Name
  50.             Al                       Sysop's First name
  51.  
  52.             Lawrence                 Sysop's Last Name
  53.  
  54. |-----------------------------------------------------------------------------|
  55. | READ!     1                        CommPort  \ These 2 lines are required   |
  56. | READ!     1                        Node #    / ONLY for GTUSER.BBS          |
  57. |-----------------------------------------------------------------------------|
  58.  
  59.             00000000                 Registration Number
  60.  
  61.    !    #   5                        Maximum # of Turns per day
  62.                                      (Sysop gets 999 in Registered version)
  63.                                      (Configurable... see option below    )
  64.  
  65.         #   0                        Max # of days a caller can make up, during
  66.                                      calls in one day. 0=Disable Make-up Option
  67.                                      Maximum value = 27, Minimum value = 1
  68.  
  69.         #   NONE                     Drive:\Path\Filename to contain the
  70.                                      Top Score Bulletin or enter NONE
  71.                                      for NO Bulletin creation.
  72.  
  73.         #   NONE                     Drive:\Path\Filename to contain the
  74.                                      Top Score Bulletin (Color) or enter NONE
  75.                                      for NO Bulletin creation.
  76.  
  77.         #   NONE                     Drive:\Path\Filename to contain the
  78.                                      Hall of Fame Bulletin or enter NONE
  79.                                      for NO Bulletin creation.
  80.  
  81.         #   NONE                     Drive:\Path\Filename to contain the
  82.                                      Hall of Fame Bulletin (Color) or enter NONE
  83.                                      for NO Bulletin creation.
  84.  
  85.  
  86.             1                        1 = DO NOT Display ADOPT-A-DOOR Message
  87.                                      2 = Display ADOPT-A-DOOR message
  88.  
  89.         #   2                        Keyboard timeout value in Minutes
  90.  
  91.     !   #   0                        Time Allowed in Door
  92.                                      (Sysop = Time Remaining - REG. VERSION)
  93.  
  94.         #   N                        Automatic game reset at end of month:
  95.                                        Y = Yes enable autoreset
  96.                                        N = Keep accumulating scores
  97.  
  98.             Y                        Y = Allow Sysop to have 999 turns/day
  99.                                      N = Don't Allow Sysop 999 turns/day
  100.  
  101.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  102.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  103.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  104.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  105.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  106.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  107.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  108.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  109.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  110.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  111.  
  112.     @   #   XXXX/YYYY                 Blackout Range  From/To
  113.     @   #   XXXX/YYYY                 Blackout Range  From/To
  114.     @   #   XXXX/YYYY                 Blackout Range  From/To
  115.     @   #   XXXX/YYYY                 Blackout Range  From/To
  116.     @   #   XXXX/YYYY                 Blackout Range  From/To
  117.  
  118.           ** = Replace with ONE of the following:
  119.  
  120. C:\PCB\PCBOARD.SYS              <- For PCBoard systems using PCBOARD.SYS only
  121. C:\BBS\CALLINFO.BBS             <- For Wildcat! systems (prior to v3.0)
  122. C:\BBS\USERINFO.DAT             <- For Wildcat! systems using v3.x
  123.                                    (Note:DOOR.SYS must be in SAME directory)
  124. C:\BBS\DOOR.SYS                 <- For ANY systems that support DOOR.SYS
  125. C:\BBS\DORINFOx.DEF             <- For ANY systems that support DORINFOx.DEF
  126. C:\BBS\SFDOORS.DAT              <- For Spitfire systems.
  127. c:\bbs\TRIBBS.SYS               <- For TriBBS systems.
  128. C:\BBS\CHAIN.TXT                <- For WWIV systems
  129. C:\BBS\GTUSER.BBS               <- For GT Power
  130.                                    * if using this option you must put the
  131.                                      ComPort # on line 5 and the Node # on
  132.                                      line 6 of the configuration file
  133.  
  134.  
  135.            # = Requires registration to change to a different value.
  136.            ! = See "Plays Per Day/Door Time" Below
  137.            @ = See "Blackout Periods" Below
  138.  
  139.                NOTE: There are NO Blank Lines in the Config File!!
  140.  
  141.  
  142.       4) Create a batch file or modify the GROAN file supplied. A
  143.          description of this file follows:
  144.  
  145.             ECHO off
  146.             cd\BBS\DOORS\SWEEPS       Location of SWEEPS files
  147.             SWEEPS SWEEPS.CFG         EXE filename and CFG filename (Name
  148.                                       used in creating file in #3 above)
  149.             CD\BBS
  150.             BOARD
  151.  
  152.  
  153.        5) When running in more than one node, be sure to supply a
  154.           different configuration name for each node (your choice of name).
  155.  
  156.        6) If running with a multi-port board/Fossil Driver add
  157.           /FD to the line containing the CFG name as follows:
  158.  
  159.                         SWEEPS SWEEPS.CFG /FD
  160.  
  161.  
  162.  
  163.                             JACKPOT Points
  164.                             --------------
  165.  
  166. When you end up losing points, SWEEPS will place them into the "JACKPOT".
  167. This "JACKPOT" will continue to accumulate all points lost by any player.
  168. It will also accumulate the points lost by those playing on any other node(s)
  169. at the same time. The "JACKPOT" points will be updated on the players screen
  170. REAL TIME (at the moment the player on another node loses points). The
  171. "JACKPOT" points can be won by any player, if they roll 6 dice of the same
  172. value OR a straight (1-6) in strict numerical order. Minimum amount in the
  173. "JACKPOT" will be 10000 points.
  174.  
  175.  
  176.  
  177.                MAKE-UP DAYS (Registered version only)
  178.                --------------------------------------
  179.  
  180. The Make-Up-Day feature allows the caller to make up any plays he/she missed
  181. during the current month and prior to the current call. You control whether
  182. to allow this option, as well as the number of days the caller can make up, on
  183. any prticular days worth of calls. Entering a 0 (zero) for this option, in the
  184. configuration file, turns the option OFF, any other value (up to a max of 27)
  185. turns the option ON and dictates the number of days the caller can make up.
  186.  
  187.  
  188. NOTE:      The number of games per day is calculated as follows...
  189.  
  190.            Games Allowed per day x Number of makeup days.
  191.  
  192. Example:   Games Allowed per day = 2
  193.            Max # of makeup days  = 4
  194.  
  195. If a caller logs in on 5/8/92 and this is their first call of the month, they
  196. would have a potential of 16 games to makeup and bring them current
  197. (8 days (5/8/92) * 2 (games per day)). However, since the maximum # of Makeup
  198. Days is set at 4, the maximum # of games the caller can play on 5/8/92, is 8
  199. (games allowed * max # of makeup days).
  200.  
  201.  
  202.  
  203.              HALL OF FAME BULLETINS (Registered version only)
  204.              ------------------------------------------------
  205.  
  206. The program will automatically reset the game when the first caller of the
  207. month plays the game. The score file will be cleared and a set of Hall of Fame
  208. bulletin files will be created. The files will be called SUNHOF.ASC and
  209. SUNHOF.ANS (ASCII and ANSI versions). The files will be placed in the same
  210. directory as the SWEEPS.EXE file. You are responsible for COPYING the files to
  211. your bulletin area and renaming to a filename of your choice.
  212.  
  213. WARNING: The HOF files are cumulative files. That means they are read in each
  214.          month and updated. DO NOT DELETE EITHER FILE!!!! or you will lose
  215.          the record of prior months winners!!!!
  216.  
  217.  
  218.  
  219.                           BLACKOUT PERIODS
  220.                           ________________
  221.  
  222.       Use the Blackout ranges option to define up to 5 time periods during
  223.       which you DO NOT want the Door to be played. If a caller tries to access
  224.       the Door during the Blackout period, they will be shown a message that
  225.       contains ALL the Blackout periods you have defined, and to try the Door
  226.       at a later time.
  227.  
  228.       Each of the 5 Blackout ranges takes the form of XXXX/YYYY, where
  229.       XXXX=beginning time and YYYY=the ending time. For example, 0930/1230
  230.       means to NOT allow the Door to be played between 9:30am and 12:30pm.
  231.  
  232.       IMPORTANT: - All times must be 4 digits & must follow the XXXX/YYYY format
  233.                  - DO NOT change the XXXX/YYYY entry UNLESS you want to assign
  234.                    a Blackout range.
  235.                  - You MUST use the MILITARY time format. Example: 2030=8:30pm
  236.                    0900=9am, 0030=12:30am, 1700=5pm, etc.
  237.  
  238.  
  239.                           PLAYS Per DAY/DOOR Time
  240.                           _______________________
  241.  
  242.       Plays Per Day and Door Time can be controlled several ways:
  243.  
  244.       (1) You can use the Games Per Day, singular option, in the config
  245.           file above. This option, will affect ALL callers whose Security
  246.           Level is NOT defined in any of the 10 optional Security Level/
  247.           Plays Per Day entries in the config file.
  248.  
  249.       (2) You can use the Door Time, singular option, in the config file
  250.           above. This option, will affect ALL callers whose Security
  251.           Level is NOT defined in any of the 10 optional Security Level/
  252.           Plays Per Day/Door Time entries in the config file.
  253.  
  254.       (3) You can restrict the number of games a specific Security Level
  255.           will be allowed to play per day or REWARD specific Levels with
  256.           more Plays Per Day.
  257.  
  258.           Likewise, you can restrict the Play time for a specific Security
  259.           Level or REWARD specific Levels with more Door Time.
  260.  
  261.           These options are handled by the use of the 10 config
  262.           entries (000=00/00).
  263.  
  264.           The format of each entry is as follows:
  265.  
  266.           XXX=YY/ZZ  where XXX is the Security Level (must be 3 digits)
  267.                      where =  is a constant and MUST be included
  268.                      where YY is the # of games per day (must be 2 digits)
  269.                      where / is a constant and MUST be included
  270.                      where ZZ is num. minutes per Door entry (must be 2 digits)
  271.  
  272.           If the callers Security Level is NOT defined, his/her Plays Per
  273.           Day and Door Time will be controlled by the values in items
  274.           (1) and (2), above, respectively..
  275.  
  276.           You may define up to 10 Security Levels. All unused entries must
  277.           be defined as   00=00/00
  278.         --------------------------------------------------------------------
  279.           Example: Suppose you had 3 Security Levels defined on your BBS as
  280.           (20=Subscriber, 30=Visiting Sysop, 40=CoSysop, 90=Friend) and you
  281.           wanted to set Plays Per Day as :     Subscriber=5
  282.                                            Visiting Sysop=2
  283.                                                   CoSysop=3
  284.                                                    Friend=10
  285.  
  286.           and Door Time as follows:     Subscriber=30 minutes
  287.                                     Visiting Sysop=20 minutes
  288.                                            CoSysop=10 minutes
  289.                                             Friend=remaining call time
  290.  
  291.  
  292.           You would set the Individual "Games per Day" config entry to 1 and
  293.           the individual "Door Time" to 5 minutes (these would be the
  294.           default number of games and default Time for all Security Levels
  295.           other than 20,30 or 40... make them any number you want). Next you
  296.           would replace 4 of the Security Level entries as :  020=05/30
  297.                                                               030=02/20
  298.                                                               040=03/10
  299.                                                               090=10/0
  300.  
  301.  
  302.  
  303.                         NON-STANDARD COM SUPPORT
  304.                         ________________________
  305.  
  306.       Support for COM 1-4 on the standard IRQ's - COM1/COM3 = IRQ4 and
  307.       COM2/COM4 = IRQ3. If you wish to use a non-standard IRQ, add the IRQ
  308.       number after the configuration filename. Let's assume your Door is
  309.       called FOOBAR and you want to use COM1 and IRQ5. The command line
  310.       passed to your Door would be:
  311.  
  312.                             FOOBAR FOOBAR.CFG /5
  313.  
  314.       The /5 tells FOOBAR to use IRQ5 rather than the standard IRQ4 that is
  315.       normally used with COM1. No /x parameter is needed for the standard
  316.       IRQ's.
  317.  
  318.       As an alternative, you may use an environmental variable on the command
  319.       line. To use the variable (following the example above), place a
  320.       SET IRQ=5 in the batch file used to bring up your BBS (you would need a
  321.       different IRQ number for each node). The command line would now look
  322.       like this:
  323.  
  324.                           FOOBAR FOOBAR.CFG /%IRQ%
  325.  
  326.       This, in combination with the use of the environmental variables
  327.       described in the MULTI-NODE SETUP section will allow you to use one
  328.       batch file and one config file to run this door on all nodes.
  329.  
  330.  
  331.  
  332.  
  333.                            MULTI-NODE SETUP
  334.                            ________________
  335.  
  336.       All Sunrise Doors are Multi-Node capable. Each node must have the
  337.       ability to access a configuration file which will have its own system
  338.       file (DORINFOx.DEF, PCBOARD.SYS, DOOR.SYS, etc) defined on the first
  339.       line. There are 2 ways to accomplish this:
  340.  
  341.       (1) Create a separate configuration file for each node. The only
  342.           difference between each file would be the location of the system
  343.           file for that particular node. For example, on my system there are 2
  344.           nodes and the first line of the config files would look like this:
  345.  
  346.                         NODE1:  H:\PCB1\DOOR.SYS
  347.                         NODE2:  H:\PCB2\DOOR.SYS
  348.  
  349.           Thus, if you have a 4 node BBS, you will need 4 configuration files.
  350.  
  351.       (2) Use ONE configuration file for ALL nodes. This Door will recognize
  352.           the following PCBoard environmental variables:
  353.  
  354.                  PCBDIR    (Directory containing the System file)
  355.                  PCBDRIVE  (Drive containing the System file)
  356.  
  357.           Thus, the first line of the SINGLE configuration file, for this Door
  358.           would look like this:
  359.  
  360.                         %PCBDRIVE%%PCBDIR%\DOOR.SYS
  361.  
  362.       NOTE: This option, as described, assumes that you are running PCBoard
  363.             14.5a software. The environmental variables are automatically
  364.             created by the software for each node.
  365.  
  366.             HOWEVER, if you are running other BBS software you should be able
  367.             to set the variables EXACTLY as described below, for EACH node
  368.             (more than likely in each batch file you use to bring up EACH node):
  369.  
  370.                             PCBDRIVE=C:
  371.                             ^^^^^^^^^
  372.                             PCBDIR=\NODE2
  373.                             ^^^^^^^^
  374.  
  375.             Info with a carat (^) under it, MUST be typed as is. The rest
  376.             depends on your naming conventions.
  377.  
  378.             This, in combination with the use of the optional environmental
  379.             variable described in the NON-STANDARD COM SUPPORT section, will
  380.             allow you to use one batch file and one config file to run this
  381.             door on all nodes.
  382.  
  383.  
  384.                                ADOPT-A-DOOR
  385.                                ____________
  386.  
  387.     Having been a Sysop for a number of years, I have had my share of problems
  388.     and frustrations getting financial support for my board's upkeep. A fellow
  389.     Sysop left a message on my board, not long ago, about a concept that was
  390.     being used by several boards around the country.
  391.  
  392.     The concept, ADOPT-A-DOOR, allows a caller to register (ADOPT) a door. It
  393.     would be the same as sending in a donation, only this way it is earmarked
  394.     for registering a particular door. In a way, the user feels he/she is
  395.     "getting something in return". As a Door author I have decided to build
  396.     this concept into each of my Door programs. The concept replaces the
  397.     usual message "tell the Sysop to register this Door" we find in most
  398.     doors.
  399.  
  400.     If the Door is unregisterd then a message appears on the opening screen
  401.     to that effect. After finishing or suspending a game, a message screen
  402.     is displayed about the ADOPT-A-DOOR concept. The message also tells the
  403.     caller to contact the Sysop to find out if there is any further details
  404.     to the ADOPT-A-DOOR concept. Some Sysops give extra D/L time, online
  405.     time, etc to callers that ADOPT-A-DOOR.
  406.  
  407.     If the Door has been registered, either by the Sysop or other callers,
  408.     the names of those contributors will be displayed in the closing screen.
  409.  
  410.     NOTE: If you want to display the names of the callers that contributed
  411.           to registering the Door, you must create an ASCII file called
  412.           ADOPT.SYS. You create it with an Editor or Word Processor. Enter
  413.           the name(s) of the contributors (one on each line, maximum of 5
  414.           entries, each a maximum of 30 characters long). This file must be
  415.           saved, in ASCII format, and placed in the Door directory.
  416.  
  417.  
  418.  
  419.                               LEGALITIES
  420.                               __________
  421.  
  422.  
  423.       THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED "AS IS"
  424.       WITHOUT WARRANTY, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
  425.       LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  426.       FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ANYONE INVOLVED WITH
  427.       THE CREATION AND PRODUCTION OF THIS PRODUCT BE LIABLE FOR INDIRECT,
  428.       SPECIAL, OR CONSEQUENTIAL DAMAGES, ARISING OUT OF ANY USE THEREOF
  429.       OR BREACH OF ANY WARRANTY.
  430.  
  431.  
  432.  
  433.  
  434.  
  435.                              DISTRIBUTION
  436.                              ____________
  437.  
  438.    You may make this file available for downloading from your BBS or you may
  439.    upload it to any BBS of your choice, provided that you do not make any
  440.    changes to the contents of the archive (ZIP file). The archive and its
  441.    individual contents may not be used by any service that charges any money
  442.    whatsoever, without the written permission of the author.
  443.  
  444.  
  445.  
  446.  
  447.  
  448.                              REGISTRATION
  449.                              ____________
  450.  
  451.    Registration and the subsequent insertion of the registration number into
  452.    your configuation file, allows for the display of your BBS name on the
  453.    opening and closing screen as well as the reduction of a delay built into
  454.    the opening screen display along with the ability to change certain
  455.    values in the configuration file.
  456.  
  457.    To register your copy of SWEEPSTAKES, please fill out the registration
  458.    form (REGISTER.FRM) and mail it along with the registration fee to
  459.    the name and address on the form.
  460.  
  461.    Be sure to use the proper upper/lower case when filling in your name and
  462.    BBS name, as they MUST match the way you entered them in the configuration
  463.    file.             ^^^^
  464.  
  465.    Based upon information supplied on the registration form, I will pre-
  466.    register you on my BBS. You will then be able to call SUNRISE-80 and pick
  467.    up your registration number.
  468.  
  469.  
  470.  
  471.                                  MISC
  472.                                  ____
  473.  
  474.    The latest version of SWEEPSTAKES DICE and other fine SUNRISE DOOR programs
  475.    are always available for download from SUNRISE-80 BBS and/or SALTAIR BBS.
  476.  
  477.    Remember, should you have any problems, questions or suggestions, be sure
  478.    to drop me a message on either of the aforementioned BBS', SmartNet (Sysops)
  479.    Rime (PCBhints, Common, Doors, Sysops) or FidoNet 1:133/410
  480.  
  481.